package com.zxd.singleton;

/**
 * ClassName:Test
 * Package:com.zxd.singleton
 *
 * @Date:2023/9/21 10:46
 * @Author:zxde
 */
public class Test {
    public static void main(String[] args) {
        Lazy lazy1 = Lazy.getInstance();
        Lazy lazy2 = Lazy.getInstance();
        System.out.println(lazy1);
        System.out.println(lazy2);


        Simple simple1 = Simple.getInstance();
        Simple simple2 = Simple.getInstance();
        System.out.println(simple1);
        System.out.println(simple2);
    }
}
